package com.woniuxy.entity;

public interface Person {
    void eat();
}

class TestPerson{

    public void howEat(Person person){
        person.eat();
    }

    public static void main(String[] args) {
        TestPerson testPerson = new TestPerson();
        Person person = new Chinese();
        testPerson.howEat(person);
    }
}